﻿using System;
using Microsoft.Isam.Esent.Serialization.Attributes;

namespace DictionaryDemo
{
	[ EseTable ]
	[ EsePrimaryIndex( "key", "+key\0\0" ) ]
	class DictionaryEntry
	{
		[ EseText ]
		public string key;

		[ EseDCS( DictionaryType = typeof( ValueTypeDictionary ) ) ]
		public ValueType value;
	}
}